﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Provider
{
    public static class Extensions
    {
        public static IRefCountSubscriber<TKey,TValue> ToRefCountSubscriber<TKey,TValue>(this ISubscriberComponent<TKey, TValue> subscriber)
            where TKey : IKey
            where TValue : IValue
        {
            return new RefCountSubscriber<TKey,TValue>(subscriber);
        }
    }
}
